package com.campus.merchant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campus.merchant.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author ZhaoYuJie
 * @since 2025-04-18
 */
public interface OrderMapper extends BaseMapper<Order> {

    BigDecimal getTodayRevenue(@Param("merchantId") Integer merchantId);

}
